body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

.navbar {
    background-color: #e2231a; /* 红色背景 */
    overflow: hidden;
    border-bottom: 1px solid #ccc;
    display: flex;
    align-items: center;
}

.navbar ul {
    list-style-type: none; /* 移除列表项前的标记 */
    padding: 0;
    margin: 0;
    display: flex;
}

.navbar li {
    margin-right: 20px; /* 给列表项添加右边距 */
}

.navbar a {
    display: block;
    color: white;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}

.navbar a:hover {
    background-color: #ddd;
    color: black;
}

.dropdown {
    margin-right: 20px; /* 给下拉菜单添加右边距 */
}

.dropdown select {
    border: none;
    background-color: inherit;
    color: white;
    padding: 14px 16px;
    font-size: 17px;
    border-bottom: 1px solid white;
    appearance: none; /* 移除默认的下拉箭头 */
    -webkit-appearance: none; /* 移除默认的下拉箭头（Chrome和Safari） */
    background-image: none; /* 移除默认的背景图像 */
}

.dropdown select:focus {
    outline: none;
}